在ubuntu 上使用TestDisk数据恢复

您所在的位置:网站首页 ubuntu testdisk 恢复删除文件 在ubuntu 上使用TestDisk数据恢复

在ubuntu 上使用TestDisk数据恢复

2024-07-09 10:27| 来源: 网络整理| 查看: 265

在ubuntu 上使用TestDisk数据恢复 精选 转载

skles 2010-04-03 16:36:26 博主文章分类:linux

文章标签 Data Recovery With 休闲 TestDisk 文章分类 运维

转自:http://www.howtoforge.com/data_recovery_with_testdisk                     官方文档:http://www.cgsecurity.org/wiki/TestDisk需求:单系统ubuntu,想装windows,结果误删除了ubuntu下的一个分区(windows安装的时候明明看了好几遍,还是误删了),安装前,确认下分区状况,发现分区不对,立即停止安装系统,进入ubuntu(ubuntu启动不起来,将前512字节dd回MBR,也可以通过grub>命令修复),安装testdisktestdisk简介testdisk是一款强大并且免费的数据恢复的软件,软件的主要功能是当人为的错误(意外的删除你的分区表),软件出现问题,或者中毒的情况下,帮助用户找回丢失的分区,或者是将一个不能启动的盘让其启动起来。在很多的操作系统上,都可以使用testdisk,包括Linux,MacOS,Windows,并支持许多的文件系统1 下载 TestDiskTestDisk 在大多数linux的发行版上都有相应的软件包, 例如: Debian/Ubuntu, Fedora, Mandriva, 等 (完整的系统列表都在  http://www.cgsecurity.org/wiki/TestDisk_Livecd).  在 Debian/Ubuntu 上你可以运行apt-get install testdisk来安装它2 使用TestDiskTestDisk 在ubuntu上可以用以下的命令运行testdisk /list可以列出你现有的分区表:server1:~# testdisk /listTestDisk 6.5, Data Recovery Utility, October 2006Christophe GRENIER http://www.cgsecurity.orgPlease wait...Disk /dev/sda - 32 GB / 29 GiB - CHS 3916 255 63, sector size=512Disk /dev/sda - 32 GB / 29 GiB - CHS 3916 255 63     Partition                  Start        End    Size in sectors 1 * Linux                    0   1  1  3869 254 63   62171487 2 E extended              3870   0  1  3915 254 63     738990 5 L Linux Swap            3870   1  1  3915 254 63     738927现在假设你误删分区表,现在需要修复,我们开始使用testdisk工具testdisk根据菜单提示去选择:TestDisk 6.5, Data Recovery Utility, October 2006Christophe GRENIER http://www.cgsecurity.orgTestDisk is a data recovery designed to help recover lost partitionsand/or make non-booting disks bootable again when these symptomsare caused by faulty software, certain types of viruses or human error.It can also be used to repair some filesystem errors.Information gathered during TestDisk use can be recorded for laterreview. If you choose to create the text file, testdisk.log , itwill contain TestDisk options, technical information and variousoutputs; including any folder/file names TestDisk was used to find andlist onscreen.Use arrow keys to select, then press Enter key:[ Create ]  Create a new log file[ Append ]  Append information to log file[ No Log ]  Don't record anything


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3